<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'mem-report-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_id'); ?>
		<?php echo $form->textField($model,'zmr_id',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'zmr_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_type'); ?>
		<?php echo $form->textField($model,'zmr_type'); ?>
		<?php echo $form->error($model,'zmr_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_type_info'); ?>
		<?php echo $form->textField($model,'zmr_type_info'); ?>
		<?php echo $form->error($model,'zmr_type_info'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zm_id_from'); ?>
		<?php echo $form->textField($model,'zm_id_from'); ?>
		<?php echo $form->error($model,'zm_id_from'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zm_id_to'); ?>
		<?php echo $form->textField($model,'zm_id_to'); ?>
		<?php echo $form->error($model,'zm_id_to'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zp_id'); ?>
		<?php echo $form->textField($model,'zp_id'); ?>
		<?php echo $form->error($model,'zp_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_nums'); ?>
		<?php echo $form->textField($model,'zmr_nums'); ?>
		<?php echo $form->error($model,'zmr_nums'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zo_id'); ?>
		<?php echo $form->textField($model,'zo_id',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'zo_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_title'); ?>
		<?php echo $form->textField($model,'zmr_title',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'zmr_title'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_content'); ?>
		<?php echo $form->textArea($model,'zmr_content',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'zmr_content'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_reply'); ?>
		<?php echo $form->textArea($model,'zmr_reply',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'zmr_reply'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_mem_pic'); ?>
		<?php echo $form->textField($model,'zmr_mem_pic',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zmr_mem_pic'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_cmp_pic'); ?>
		<?php echo $form->textField($model,'zmr_cmp_pic',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zmr_cmp_pic'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zad_id'); ?>
		<?php echo $form->textField($model,'zad_id'); ?>
		<?php echo $form->error($model,'zad_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_disposetime'); ?>
		<?php echo $form->textField($model,'zmr_disposetime'); ?>
		<?php echo $form->error($model,'zmr_disposetime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_disposeidea'); ?>
		<?php echo $form->textArea($model,'zmr_disposeidea',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'zmr_disposeidea'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_del'); ?>
		<?php echo $form->textField($model,'zmr_del'); ?>
		<?php echo $form->error($model,'zmr_del'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zmr_status'); ?>
		<?php echo $form->textField($model,'zmr_status'); ?>
		<?php echo $form->error($model,'zmr_status'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->